package com.sdu.hotel.entity.system;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.sdu.hotel.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统辅助字典
 * @author xyh
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table("sys_dict")
public class SysDict extends BaseEntity implements Serializable {

//    @TableId(type = IdType.ASSIGN_ID)
//    private String dictId;

    @Column("parent_id")
    private String parentId;

    @Column("dict_level")
    private Integer dictLevel;

    @Column("dict_code")
    private String dictCode;

    @Column("dict_name")
    private String dictName;

    @Column("dict_name_en")
    private String dictNameEn;

    @Column("dict_value")
    private String dictValue;

    @Column("dict_desc")
    private String dictDesc;

    @Column("dict_default_code")
    private String dictDefaultCode;

    @Column("dict_type")
    private String dictType;

    @Column("dict_uid")
    private Long dictUid;

    @Column("dict_uname")
    private String dictUname;

    @Column("sys")
    private Boolean sys;

    @Column("sort")
    private Integer sort;

    @Column(value="update_time")
    private Date updateTime;

}
